package com.ruoyi.books.mapper;

import java.util.List;
import com.ruoyi.books.domain.BooksPerformanceVideo;

/**
 * 非遗演视频Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-31
 */
public interface BooksPerformanceVideoMapper 
{
    /**
     * 查询非遗演视频
     * 
     * @param performanceVideoId 非遗演视频主键
     * @return 非遗演视频
     */
    public BooksPerformanceVideo selectBooksPerformanceVideoByPerformanceVideoId(Long performanceVideoId);

    /**
     * 查询非遗演视频列表
     * 
     * @param booksPerformanceVideo 非遗演视频
     * @return 非遗演视频集合
     */
    public List<BooksPerformanceVideo> selectBooksPerformanceVideoList(BooksPerformanceVideo booksPerformanceVideo);

    /**
     * 新增非遗演视频
     * 
     * @param booksPerformanceVideo 非遗演视频
     * @return 结果
     */
    public int insertBooksPerformanceVideo(BooksPerformanceVideo booksPerformanceVideo);

    /**
     * 修改非遗演视频
     * 
     * @param booksPerformanceVideo 非遗演视频
     * @return 结果
     */
    public int updateBooksPerformanceVideo(BooksPerformanceVideo booksPerformanceVideo);

    /**
     * 删除非遗演视频
     * 
     * @param performanceVideoId 非遗演视频主键
     * @return 结果
     */
    public int deleteBooksPerformanceVideoByPerformanceVideoId(Long performanceVideoId);

    /**
     * 批量删除非遗演视频
     * 
     * @param performanceVideoIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBooksPerformanceVideoByPerformanceVideoIds(Long[] performanceVideoIds);
}
